package com.yuyou.fn.settlement.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 支付记录
 *
 */
@TableName(value = "pay_record")
public class PayRecord implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<PayRecord> createExample(){
		return new Example<PayRecord>(PayRecord.class);
	}

	/**  */
	@TableId(value = "pay_record_id")
	private Long payRecordId;

	/**  */
	@TableField(value = "bus_order_id")
	private Long busOrderId;

	/** 业务类型：0-课程收费；1-充值 */
	@TableField(value = "bus_type")
	private Integer busType;

	/** 金额 */
	private BigDecimal amount;

	/** 操作人 */
	private String operator;

	/** 支付方式：0-现金；1-刷卡；2-转账；3-账户 4-在线支付,5-预付金 */
	@TableField(value = "pay_way")
	private Integer payWay;

	@TableField("campus_id")
	private Long campusId ;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	@TableField(value = "pay_info_ext")
	private String payInfoExt ;

	@TableField(value = "hidden")
	private Integer hidden;


	public Long getPayRecordId() {
		return this.payRecordId;
	}

	public void setPayRecordId(Long payRecordId) {
		this.payRecordId = payRecordId;
	}

	public Long getBusOrderId() {
		return busOrderId;
	}

	public void setBusOrderId(Long busOrderId) {
		this.busOrderId = busOrderId;
	}

	public Integer getBusType() {
		return busType;
	}

	public void setBusType(Integer busType) {
		this.busType = busType;
	}

	public BigDecimal getAmount() {
		return this.amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public String getOperator() {
		return this.operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Integer getPayWay() {
		return this.payWay;
	}

	public void setPayWay(Integer payWay) {
		this.payWay = payWay;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getCampusId() {
		return campusId;
	}

	public void setCampusId(Long campusId) {
		this.campusId = campusId;
	}

	public String getPayInfoExt() {
		return payInfoExt;
	}

	public void setPayInfoExt(String payInfoExt) {
		this.payInfoExt = payInfoExt;
	}

	public Integer getHidden() {
		return hidden;
	}

	public void setHidden(Integer hidden) {
		this.hidden = hidden;
	}
}
